//
//  SEGPersonalHomePagCell.h
//  FrameworkTest
//
//  Created by 梁昆 on 2018/4/20.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGCustomWholeView.h"
#import "SEGUgcListModel.h"

static NSString* kSEGPersonalCellIdentifier = @"SEGPersonalCellIdentifier";
@protocol SEGPersonalHomePagCell <NSObject>

- (void)personalCellTapWithIndexPath:(NSIndexPath *)indexPath;  //监听cell的点击代理方法，跳转到邻里圈详情页
-(void)personalCellTopicTapWithIndexPath:(NSIndexPath *)indexPath;  //跳转到话题详情页的外部跳转
- (void)personalCellFocusTapWithIndexPath:(NSIndexPath *)indexPath; //转发pgc内容 点击代理 （分享看点/喜欢看点）
- (void)personalCellFocusChannelNameTapWithIndexPath:(NSIndexPath *)indexPath; //转发pgc内容 点击频道名称代理 
- (void)personalCellMarketTapWithIndexPath:(NSIndexPath *)indexPath; //集市内容 点击代理
- (void)personalCellTopicTagetTapWithIndexPath:(NSIndexPath *)indexPath; //聊聊标签 点击代理

@end

@interface SEGPersonalHomePagCell : UITableViewCell<SEGCustomContentViewDelegate,SEGTopicTextViewDelegate,SEGTopicPicViewDelegate,SEGprotocolNeighbourViewDelegate>
/*
 封装cell
 */
@property (nonatomic, strong)SEGCustomWholeView *wholeCell;
/**
 当前cell的indexPath
 */
@property (nonatomic, strong) NSIndexPath *indexPath;


@property (nonatomic,strong)UIView*line;

@property(nonatomic, weak) id<SEGPersonalHomePagCell> delegate;

- (void)setLayout:(SEGCustomWholeViewLayout *)layout isFirstCell:(BOOL)isFirstCell;

@end
